---
title: Retrain a Model
sidebarTitle: Retrain a Model
---

## Description

The `db.models.insertOne({"name": "model_name","action": "retrain"})` function is used retrain a model.

## Syntax

Here is the syntax:

```sql
db.models.insertOne({"name": "model_name","action": "retrain"})
```
